package com.heeexy.example.service;

import com.github.pagehelper.Page;
import yinwei.bo.common.entry.Comment;

import java.util.List;

public interface CommentService {
    void deleteComment(Long id);

    List<Comment> listCommentByBlogId(int blogId);

    Page<Comment> getCommentByPage(Long current, Long size);

    List<Comment> findCommentByNickname(String nickname);

    void saveComment(Comment comment);
}
